<?php

namespace app\common\validate\Business;

// 引入tp的验证器
use think\Validate;

// 客户验证器
class Visit extends Validate
{
    // 验证规则
    protected $rule = [
        'busid' => ['require'],
        'adminid' => ['require'],
        'content' => ['require']

    ];

    // 错误提示信息
    protected $message = [
        'busid.require' => '回访客户未知',
        'adminid.require' => '管理员未知',
        'content.require' => '回访内容必填'
    ];

    // 验证场景
    protected $scene = [];
}
